CC=gcc
objects:=$(patsubst %.c,%.o,$(wildcard *.c))
#target=ctest
target:=testLinuxC_

$(target):$(objects)
	$(CC) -o $@ $^
$(objects):%.o:%.c
	$(CC) -c $< -o $@

.PHONY:clean
clean:
	-rm $(target) $(objects) 

p:
	@echo $(objects)
